<?php
//error_reporting(0);
date_default_timezone_set('PRC');
header("Content-type: text/html; charset=utf-8"); 

$url='https://www.baoxiu.com/';

$dbhost='localhost';
$dbname='dbname';
// $dbuser='dbuser';
// $dbpwd='7wepLpDYFXPiN4Lh';
$dbuser='root';
$dbpwd='123456';
$con=mysqli_connect($dbhost,$dbuser,$dbpwd,$dbname);


$search = array(PHP_EOL,'%','\\','/','"','\'','.','<','>','?','*','(',')',',','#','insert','create','drop','alter','select','from','delete','union','update');
//$uid = str_ireplace($search, '', $uid);
//$zid=intval($_GET['zid']);
//$qian=floatval($_GET['qian']);

$appid = "wxfc0321ee9c63c4e9";
$secretkey = "ec0f20dbbd7c8ed3df747335b7876e97";